home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
demo
/
medowl.zip
/
README.OWL
< prev
Wrap
Text File
|
1994-08-18
|
6KB
|
158 lines
OWL Classes for the Magma Editor DLL
------------------------------------
The OWL TEdit class
-------------------
The TMagmaEdit family of classes are replacements for the TEdit family of
classes which comes with OWL. The OWL TEdit class is only capable of edit-
ing 32K of text. In fact, the edit.cpp source code always sets the maximum
number of characters in an edit control to 30,000. The new TMagmaEdit clas-
ses will let you edit an unlimited amount of text. In addition, you can use
all of the new capabilities of the Magma Editor DLL.
To use these new classes in your OWL application, you generally need to do
only two "search-and-replace" operations. They are :
- Use the new include files. Use MEDT.H, MEDTFILE.H, MEDTSEAR.H and
MEDTVIEW.H in place of the existing EDIT.H, EDITFILE.H, EDITSEAR.H,
and EDITVIEW.H files.
- Substitute the word 'TMagmaEdit' for 'TEdit' in your source. This
should take care of the four new classes, TMagmaEdit, TMagmaEditFile,
TMagmaEditSearch, and TMagmaEditView.
When you link your application, make sure to use the MEDITOWL.LIB
library. Also, make sure that MAGMAED.DLL is in a directory which
Windows ordinarily searches in order to locate DLLs.
Files Included :
MAGMAED.H Main include file for the editor DLL. Copy this to the
\BC4\INCLUDE direcory
MEDITOWL.LIB Library for the TMagmaEdit family of classes. Copy this
to the \BC4\LIB directory
\MDIFILE\*.* Source code and makefile for the OWL MDIFILE sample.
Copy this to the \BC4\EXAMPLES\OWL\OWLAPPS\MDIFILE
directory. The IDE file is set up for the demo.
\SOURCE\*.* Source code and make files for the OWL TMagmaEdit
family of classes. Copy the H files to the \BC4\INCLUDE\OWL
directory. You can copy the CPP and makefile to a new
\BC4\SOURCE\MEDT directory. You can use the MEDITOWL.IDE
project file to recreate the MEDITOWL.LIB library.
MAGMAED.DLL Make sure to copy this into a directory which Windows
will search in order to load a DLL.
About the Magma Edit DLL
------------------------
The Magma Editor DLL/VBX is an edit control which provides a powerful al-
ternative to the standard Microsoft Windows edit control. The Magma Editor
(ME for short) is a line oriented text editing kernel which can be con-
trolled by an application through a series of messages or through a
high-level C-like macro language. You can think of the ME DLL/VBX as being
a "BRIEF in a box".
The editor kernel provides the following features and enhancements over the
standard Windows editor control :
- The size of the text is limited by the amount of memory Windows
can globally allocate. On the other hand, the standard Windows
edit control is limited to 64K of text.
- Extensive message-based API.
- Regular expression search and substitution
- Various block operations. Line marking, column marking, block
marking, and discontiguous line marking.
- Keyboard macros
- Messages to read and write to files.
- More varieties of cursor movement. Ability to jump to a specific line,
and to set bookmarks in the text.
- The ability to be in overstrike as well as in insert mode.
The editing DLL is an editing kernel with no real associated user interface
built in (no menus, few dialogs). It is based on the theory of the
client/server model, where the editor is a "server" of editing functions.
You can attach different user-interface related clients around the editor.
It can be a control within a dialog box, it can function as a child window,
or it can be a full-featured programmer's text editor.
The source code for the editor kernel is available at a reasonable price,
so that you can modify and customize it for your own purposes.
It is our plan to release different user-interface shells (clients) around
the editor DLL. The first shell we have written, the one which you see in
MEWIN.EXE, was written in C using the standard Windows API calls. We have
also released user-interface shells and classes for the Microsoft Foundation
Classes (MFC), Borland's Object Windows Library (OWL), Inmark's zApp, and
Microsoft's Visual Basic. The source code for all of the user interface
shells will be available from Magma Systems so that you can write custom
text editors for your applications.
The ME Text Editor for DOS had a full C-like macro language (much like
Brief's) which could be utilized to add features to the editor and to
control the editor's behavior. Magma plans on releasing a generic scripting
DLL which can be used to not only control a Magma edit control, but to make
the editor into a repository for various different kinds of objects. For
example, we plan on adding communications and report-writing modules to the
scripting engine so you can perform tasks like logging on to another
computer, downloading data and images, and formatting it a certain way.
Other Frameworks Supported
--------------------------
We have replacement classes for the Microsoft Foundation Classes (MFC),
Borland OWL 2.0, and Inmark's zApp. In general, the new classes based
on the Magma Editor DLL are superior to the existing classes which
come with the frameworks. The new classes allow editing large amounts
of text, and add additional editing capabilities.
How to contact us
-----------------
The Magma Editor DLL/VBX is a commercial product. For information
about the editor and the replacement classes, you may contact us at :
Magma Systems
15 Bodwell Terrace
Millburn, New Jersey 07041
USA
(201) 912-0192 (voice)
(201) 912-0103 (fax)
(201) 912-0668 (BBS, 9600-1200 N-8-1)
Compuserve : 75300,2062
To get to our conference, GO MAGMA
Bix : 'magma'
To get to our conference, 'join magma'
Internet : 75300.2062@compuserve.com
magma@bix.com
Magma Systems is also the maker of the well-known MEWEL User Interface
Library. MEWEL is a user interface library which implements the Microsoft
Windows API (and MFC and OWL) on non-Windows platforms, including
DOS text, DOS graphics, UNIX text, and (soon) Motif.